package com.yuzhitong.shapi.contract;

import com.yuzhitong.shapi.base.BaseView;
import com.yuzhitong.shapi.base.net.BaseObjectBean;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;

/**
 * Created by Brsya
 * CreateDate: 2022/4/27  10:01
 * Description:
 * 帮助反馈
 */
public interface HelpContract {
    interface Model {
        /**
         * 提交帮助反馈
         */
        Observable<BaseObjectBean<String>> helpSubmit(Map<String, Object> par);
    }

    interface View extends BaseView {
        /**
         * 帮助反馈提交成功
         */
        void submitSuccess();
    }

    interface Presenter {
        /**
         * 提交帮助反馈
         */
        void submit(String type, String text);
    }
}
